//
//  KXML.h
//  Ghac 4S
//
//  Created by apple on 11-9-6.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
@class KXMLNode;
@class KXPath;
@interface KXML : NSObject <NSXMLParserDelegate>
{
    NSXMLParser*        m_xmlParser;
    NSMutableArray*     m_NodeStack;
    KXMLNode*           m_rootNode;
    NSMutableArray*     m_stringBuffList;
    
}
-(id)initWithData:(NSData *)data;
-(id)initWithString:(NSString *)str;
-(id)initWithContentsOfURL:(NSURL*)path;
-(id)initWithStream:(NSInputStream*)stream;
-(NSArray*) arrayByXPath:(KXPath*)path;

@end
